package com.diors.game.engine.arpg.aoi.tree4;

/**
 * 4叉树节点
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013年12月6日
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
public class Tree4Point 
{
	
	// 当前 x坐标
	int x;
	
	// 当前 y坐标
	int y;
	
	// 点实体
	PointEntity point;
	
	// 东北子树
	Tree4Point northeast;
	// 东南子树
	Tree4Point southeast;
	// 西北子树
	Tree4Point northwest;
	// 西南子树
	Tree4Point southwest;
	
	// 父节点
	Tree4Point parentTree;
	
	
	public Tree4Point getParentTree() {
		return parentTree;
	}
	public void setParentTree(Tree4Point parentTree) {
		this.parentTree = parentTree;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public PointEntity getPoint() {
		return point;
	}
	public void setPoint(PointEntity point) {
		this.point = point;
	}
	public Tree4Point getNortheast() {
		return northeast;
	}
	public void setNortheast(Tree4Point northeast) {
		this.northeast = northeast;
	}
	public Tree4Point getSoutheast() {
		return southeast;
	}
	public void setSoutheast(Tree4Point southeast) {
		this.southeast = southeast;
	}
	public Tree4Point getNorthwest() {
		return northwest;
	}
	public void setNorthwest(Tree4Point northwest) {
		this.northwest = northwest;
	}
	public Tree4Point getSouthwest() {
		return southwest;
	}
	public void setSouthwest(Tree4Point southwest) {
		this.southwest = southwest;
	}
	
	
}
